package com.standard.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.standard.entity.Standard;
import com.standard.mapper.StandardMapper;
import com.standard.service.StandardService;

@Service("stds")
public class StandardServiceImpl implements StandardService {
	
	@Autowired
	private StandardMapper sdm;

	@Override
	public List<Standard> findStandInfo() {
		return sdm.findStandInfo();
	}

	@Override
	public Standard showStandById(Standard sd) {
		return sdm.showStandById(sd);
	}

	@Override
	public int added(Standard sd) {
		return sdm.added(sd);
	}

	@Override
	public int update(Standard sd) {
		return sdm.update(sd);
	}

	@Override
	public int delete(Standard sd) {
		return sdm.delete(sd);
	}

}
